package com.lzp.appexp

import android.content.Intent
import android.os.Bundle
import com.base.BaseActivity
import com.lzp.appexp.main.MainActivityNew
import kotlinx.android.synthetic.main.activity_splash.*

/**
 * @describe:
 * @Author: lixiaopeng
 * @Date: 2020/3/13
 */
class SplashActivity : BaseActivity(){

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_splash)
        pathText.postDelayed({
            MainActivityNew.startMainActivity(this)
            //startActivity(Intent(this,TestActivity::class.java))
            finish()
        },200)
    }

    override fun onNewIntent(intent: Intent?) {
        setIntent(intent)
        super.onNewIntent(intent)
    }
}